home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1996 September
/
JCSM Shareware Collection (JCS Distribution) (September 1996).ISO
/
word_prc
/
fwtext.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-01-06
|
8KB
|
186 lines
@ECHO OFF
REM
REM INSTALL.BAT, Version 26.06.1993, Installation von FW-TEXT auf HD
REM
CLS
ECHO ╔════════════════════════════════════════════════╗
ECHO ║ Harddisc-installation of FW-TEXT V4.5x ! ║
ECHO ╚════════════════════════════════════════════════╝
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ ╔═══════════════════╗ │
ECHO │ ║ !!! ATTENTION !!! ║ │
ECHO │ ╚═══════════════════╝ │
ECHO │ │
ECHO │ Before you start the installation, please prepare a backup copy of │
ECHO │ this distribution disc. Use only this working copy of the FW-TEXT │
ECHO │ disc and store the original disc at a safe place. │
ECHO │ │
ECHO │ The easiest way is to enter at the DOS-level the following command: │
ECHO │ │
ECHO │ DISKCOPY A: A: │
ECHO │ or DISKCOPY B: B: │
ECHO │ │
ECHO │ Store the original disc at a safe place and use only this working copy. │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
REM
REM Wenn ohne Parameter aufgerufen (z.B. Erstaufruf mit START.BAT)
REM Info ausgeben
REM
IF '%1' == '' GOTO meldung
REM
REM ... sonst normal weiter
REM
ECHO ╔═════════════════════════════════════════════════════════╗
ECHO ║ Press any key to continue ---- EXIT with [CTRL]+[C] ! ║
ECHO ╚═════════════════════════════════════════════════════════╝
PAUSE >nul
CLS
ECHO ╔════════════════════════════════════════════════╗
ECHO ║ Harddisc-installation of FW-TEXT V4.5x ! ║
ECHO ╚════════════════════════════════════════════════╝
ECHO.
ECHO.
ECHO.
IF '%2' == '' GOTO akt1
GOTO and1
:and1
ECHO FW-TEXT will be installed on drive: [%1]
ECHO in subdirectory: [%2]
ECHO.
ECHO.
MD %1%2 >nul
GOTO disk1
:akt1
ECHO FW-TEXT will be installed on drive: [%1]
ECHO.
ECHO in the actual directory.
ECHO.
GOTO disk1
:disk1
ECHO.
ECHO The files will now be copied in your target drive/directory !
ECHO.
ECHO.
IF '%2' == '' GOTO dir1_1
GOTO dir1_2
:dir1_1
IF EXIST text_450.exe COPY text_450.exe %1 >nul
IF EXIST text_451.exe COPY text_451.exe %1 >nul
COPY *.doc %1 >nul
COPY *.frm %1 >nul
COPY *.me! %1 >nul
COPY *.com %1 >nul
%1
IF EXIST text_450.exe text_450
IF EXIST text_451.exe text_451
GOTO weiter1
:dir1_2
IF EXIST text_450.exe COPY text_450.exe %1%2 >nul
IF EXIST text_451.exe COPY text_451.exe %1%2 >nul
COPY *.doc %1%2 >nul
COPY *.frm %1%2 >nul
COPY *.com %1%2 >nul
COPY *.me! %1%2 >nul
%1
CD %2
IF EXIST text_450.exe text_450
IF EXIST text_451.exe text_451
GOTO weiter1
:weiter1
IF '%2' == '' GOTO weiter2
GOTO weiter3
:weiter2
IF EXIST %1fw-text.exe GOTO ok
GOTO fehler
:weiter3
IF EXIST %1%2\fw-text.exe GOTO ok
GOTO fehler
:meldung
ECHO ╔══════════════════════════════════════╗
ECHO ║ Press any key to continue !! ║
ECHO ╚══════════════════════════════════════╝
PAUSE >nul
CLS
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ Harddisc-installationroutine for FW-TEXT V4.5x (DEMO/FULL) ! │
ECHO │ ════════════════════════════════════════════════════════════ │
ECHO │ │
ECHO │ When you start this batchfile, you have to add an existing target │
ECHO │ drive. Furthermore you can specify a target directory which will be │
ECHO │ opened automatically. │
ECHO │ │
ECHO │ Example for calling this routine: │
ECHO │ │
ECHO │ INSTALL ■ C: ■ \FWTEXT │
ECHO │ │
ECHO │ The sign "■" is a symbole for a [SPACE]. │
ECHO │ Please enter only full pathnames and don't forget the colon behind │
ECHO │ the drive-letter. All parameters have to be devide by a [SPACE]. │
ECHO │ Examples: │
ECHO │ │
ECHO │ RIGHT │ c: ■ \test\text │ c: ■ \text │ C: │
ECHO │ ────────┼─────────────────┼────────────┼─────── │
ECHO │ WRONG │ c:\test\text │ c:text │ B: │
ECHO │ │
ECHO │ The drive (A: or B:) with the FW-TEXT-distributiondisc MUST be the │
ECHO │ active drive. You need approx. 1.8 MB space on the target drive !! │
ECHO └───────────────────» Press any key to continue «─────────────────────────────┘
PAUSE >nul
CLS
GOTO end
:ok
IF EXIST text_450.exe del text_450.exe >nul
IF EXIST text_451.exe del text_451.exe >nul
CLS
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ │
ECHO │ ╔═════════════════════════════════════════╗ │
ECHO │ ║ Installation successfully finished !! ║ │
ECHO │ ╚═════════════════════════════════════════╝ │
ECHO │ │
ECHO │ You will find further information now in the files FW-TEXT.DOC and │
ECHO │ COMMERC.DOC. You can read this files with the following command: │
ECHO │ │
ECHO │ READ FW-TEXT.DOC │
ECHO │ │
ECHO │ or print them with the command: │
ECHO │ │
ECHO │ PRINT FW-TEXT.DOC │
ECHO │ │
ECHO │ │
ECHO │ And now ..... lots of fun and success with FW-TEXT V4.5x (DEMO/FULL) ! │
ECHO │ ═════════════════════════ │
ECHO │ │
ECHO └──────────────────────» Press any key to continue «──────────────────────────┘
PAUSE >nul
GOTO end
:fehler
CLS
ECHO.
ECHO ╔══════════════════════════════════════════════════╗
ECHO ║ The installationprocess was not successfull !! ║
ECHO ╚══════════════════════════════════════════════════╝
ECHO.
ECHO Please check, if you have made a mistake when calling this
ECHO batchfile. Are the parameters correct ? Drive A: or B:, which
ECHO contain the distribution disc must be active !!
ECHO.
ECHO.
GOTO end
:end